package zut.edu.cs.network.mytest;

import java.util.Scanner;

public class ScannerTest {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner("as asdasd asfsdf v.vcvx dfd,fd,fdfe; sds");
//		以s作为分隔符
		scanner.useDelimiter("s");
		while (scanner.hasNext()) {
			System.out.println(scanner.next());
		}
	}

}
